The JMConstants Interface
TheJMConstants
interface contains all the JManager numerical constants accessible from Java code.
package com.apple.mrj.JManager; /* JMConstants provides access to numerical constants from JManager. */ public interface JMConstants { /* using Sun's 1.0.2 APIs, our current APIs. */ public static final int kJMVersion = 0x11300003, /* how much time to give the JM library on "empty" events */ kDefaultJMTime= 0x00000400; public static final int /* JMVerifierOptions */ eDontCheckCode = 0, eCheckRemoteCode = 1, eCheckAllCode = 2; public static final int /* JMProxyType */ eHTTPProxy = 0, eFirewallProxy = 1, eFTPProxy = 2; public static final int /* ReorderRequest */ eBringToFront = 0, // bring the window to front eSendToBack = 1, // send the window to back eSendBehindFront = 2; // send the window behind the front window public static final int /* JMFrameKind */ eBorderlessModelessWindowFrame = 0, eModelessWindowFrame = 1, eModalWindowFrame = 2; public static final int /* JMLocatorErrors */ eLocatorNoErr = 0, // the html was retrieved successfully eHostNotFound = 1, // the host could not be found eFileNotFound = 2, // the file could not be found on the host eLocatorTimeout = 3, // timeout while retrieving the html text eLocatorKilled = 4; // in response to a JMDisposeAppletLocator // before it has completed public static final int /* JMNetworkSecurityOptions */ eNoNetworkAccess = 0, eAppletHostAccess = 1, eUnrestrictedAccess = 2; public static final int /* JMFileSystemOptions */ eNoFSAccess = 0, eLocalAppletAccess = 1, eAllFSAccess = 2; };